package com.hpli.infrastructure.persistent.po;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Table: raffle_activity_sku
 */
public class RaffleActivitySku {
    /**
     * Column: id
     * Type: INT UNSIGNED
     * Remark: 自增ID
     */
    private Integer id;

    /**
     * Column: sku
     * Type: BIGINT
     * Remark: 商品sku - 把每一个组合当做一个商品
     */
    private Long sku;

    /**
     * Column: activity_id
     * Type: BIGINT
     * Remark: 活动ID
     */
    private Long activityId;

    /**
     * Column: activity_count_id
     * Type: BIGINT
     * Remark: 活动个人参与次数ID
     */
    private Long activityCountId;

    /**
     * Column: stock_count
     * Type: INT
     * Remark: 商品库存
     */
    private Integer stockCount;

    /**
     * Column: stock_count_surplus
     * Type: INT
     * Remark: 剩余库存
     */
    private Integer stockCountSurplus;

    /**
     * 商品金额【积分】
     */
    private BigDecimal productAmount;

    /**
     * Column: create_time
     * Type: DATETIME
     * Default value: CURRENT_TIMESTAMP
     * Remark: 创建时间
     */
    private Date createTime;

    /**
     * Column: update_time
     * Type: DATETIME
     * Default value: CURRENT_TIMESTAMP
     * Remark: 更新时间
     */
    private Date updateTime;

    public BigDecimal getProductAmount() {
        return productAmount;
    }

    public void setProductAmount(BigDecimal productAmount) {
        this.productAmount = productAmount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getSku() {
        return sku;
    }

    public void setSku(Long sku) {
        this.sku = sku;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Long getActivityCountId() {
        return activityCountId;
    }

    public void setActivityCountId(Long activityCountId) {
        this.activityCountId = activityCountId;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public Integer getStockCountSurplus() {
        return stockCountSurplus;
    }

    public void setStockCountSurplus(Integer stockCountSurplus) {
        this.stockCountSurplus = stockCountSurplus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}